home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / mig / dist / error.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-28  |  1.9 KB  |  63 lines

  1. /* 
  2.  * Mach Operating System
  3.  * Copyright (c) 1991,1990 Carnegie Mellon University
  4.  * All Rights Reserved.
  5.  * 
  6.  * Permission to use, copy, modify and distribute this software and its
  7.  * documentation is hereby granted, provided that both the copyright
  8.  * notice and this permission notice appear in all copies of the
  9.  * software, derivative works or modified versions, and any portions
  10.  * thereof, and that both notices appear in supporting documentation.
  11.  * 
  12.  * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS 
  13.  * CONDITION.  CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
  14.  * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
  15.  * 
  16.  * Carnegie Mellon requests users of this software to return to
  17.  * 
  18.  *  Software Distribution Coordinator  or  Software.Distribution@CS.CMU.EDU
  19.  *  School of Computer Science
  20.  *  Carnegie Mellon University
  21.  *  Pittsburgh PA 15213-3890
  22.  * 
  23.  * any improvements or extensions that they make and grant Carnegie the
  24.  * rights to redistribute these changes.
  25.  */
  26. /*
  27.  * HISTORY
  28.  * $Log:    error.h,v $
  29.  * Revision 2.4  92/01/14  16:46:17  rpd
  30.  *     Removed <mach_error.h>.
  31.  *     [92/01/06            rpd]
  32.  * 
  33.  * Revision 2.3  91/02/05  17:54:14  mrt
  34.  *     Changed to new Mach copyright
  35.  *     [91/02/01  17:54:00  mrt]
  36.  * 
  37.  * Revision 2.2  90/06/02  15:04:33  rpd
  38.  *     Created for new IPC.
  39.  *     [90/03/26  21:10:30  rpd]
  40.  * 
  41.  * 07-Apr-89  Richard Draves (rpd) at Carnegie-Mellon University
  42.  *    Extensive revamping.  Added polymorphic arguments.
  43.  *    Allow multiple variable-sized inline arguments in messages.
  44.  *
  45.  * 27-May-87  Richard Draves (rpd) at Carnegie-Mellon University
  46.  *    Created.
  47.  */
  48.  
  49. #ifndef    _ERROR_H
  50. #define    _ERROR_H
  51.  
  52. extern void fatal(/* char *format, ... */);
  53. extern void warn(/* char *format, ... */);
  54. extern void error(/* char *format, ... */);
  55.  
  56. extern int errno;
  57. extern char *unix_error_string();
  58.  
  59. extern int errors;
  60. extern void set_program_name(/* char *name */);
  61.  
  62. #endif    _ERROR_H
  63.